package com.edu.chat.web.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 图书馆信息表
 * @TableName cs_library
 */
@TableName(value ="cs_library")
@Data
public class CsLibrary extends BaseDo{
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 文章总数
     */
    @TableField(value = "total_articles")
    private Integer totalArticles;

    /**
     * 是否开启搜索
     */
    @TableField(value = "open_search")
    private Integer openSearch;



}